<template>
    <div>
        <span>{{fuck}}</span>

        <span>{{dataList}}</span>
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>id</th>
                    <th>name</th>
                    <th>age</th>
                </tr>
            </thead>

            <tbody>
                <tr v-for="item in dataList" :key="item.id">
                    <td>
                        {{item.id}}
                    </td>
                    <td>
                        {{item.name}}
                    </td>
                    <td>
                        {{item.age}}
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</template>




<script>
    export default{
        props:["dataList","fuck"],
        created:function(){
            console.log(this.userList);
            window['List']=this;
        }
    }
</script>
